<!-- LATEST_FRONTPAGE.TPL -->
MAMANA
<table cellspacing="0" class="box" style="clear:both;">
<tr>
	<th width="25%">{$CATEGORY_URL} {$smarty.const.CATEGORY}</a> {$image_cat}</th>
	<th width="35%">{$AD_URL} {$smarty.const.TITLE}</a> {$image_title}</th>
	{foreach item=extra from=$EXTRA_CAPTION_ARRAY} 
		<th>{$extra.url}{$extra.caption|truncate:15:"...":true}</a> {$extra.sort_img}</th>
	{/foreach}
	<th width="10%">{$EXPIREDATE_URL} {$smarty.const.LA_AD_EXPIRE}</a> {$image_expire}</th>
	<!-- <th>Vendor logo</th> -->
	<th width="20%">{$GRADE_URL} {$smarty.const.LA_GRADE}</a> {$image_grade}</th>
	<th width="5%">{$PICTURE_URL} {$smarty.const.PICTURE_TEXT}</a> {$image_picture}</th>
	
</tr>			  

{foreach item=ad from=$ads}  
<tr class="{cycle values=",alt"}">
	<td class="category">{$ad.CATEGORYNAME}</td>
	<td class="pointer"><a href="{$ad.LINK}" title="{$ad.TITLE|escape}">
	{if $ad.SPECIAL}<b>{/if}{$ad.TITLE|truncate:35:"...":true}{if $ad.SPECIAL}</b>{/if}</a></td>
	{foreach item=extraval from=$ad.EXTRA_VALUES} 
		<td><nobr>{$extraval|truncate:20:"...":true}</nobr></td>
	{/foreach}
	<td>{$ad.EXPIREDATE}</td>
	 <!-- <td>{if $ad.VENDOR_URL}<img src="{$ad.VENDOR_URL}" height="30" />{/if}</td> -->
	<td>{$ad.GRADE}</td>
	<td>{$ad.IMAGEYESNO}</td>
</tr>
{/foreach} 

<tr>
<td colspan="6" align="center">
{if $prev_url} 
	<a href="{$prev_url}" class="button nextPrev">&lt; {$smarty.const.PREVIOUS_ADS} {$NUM_PER_PAGE}</a> 
{else}
	
{/if}


{if $next_url}	
	<a href="{$next_url}" class="button nextPrev">{$smarty.const.NEXT_ADS} {$NUM_PER_PAGE} &gt;</a> 
{else}	

{/if}
</td></tr></table>
<!-- // LATEST_FRONTPAGE.TPL -->